import { Body, Controller, Get, Inject, Param, Post } from '@nestjs/common';
import { AppService } from './app.service';
import { Observable } from 'rxjs';


@Controller()
export class AppController {
  constructor(private appService: AppService) {}

  // constructor(
  //   private appService: AppService,
  //   @Inject('LOG_SERVICE') private logCLIENT: ClientProxy,
  // ) {}
  //
  // @Get()
  // getMany(): Observable<user.User[]> {
  //   return this.appService.getMany();
  // }
  // @Get(':id')
  // login(@Param('id') id: number): Observable<user.User> {
  //   this.logCLIENT.emit('log', 'user login');
  //   return this.appService.getUser(id);
  // }




}
